home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Camelot / Camelot 078 (1990-06)(Swedish User Group of Amiga)(SE)(PD)[WB].zip / Camelot 078 (1990-06)(Swedish User Group of Amiga)(SE)(PD)[WB].adf / MSH / src / Makefile < prev    next >
Makefile  |  1990-06-17  |  2KB  |  76 lines

  1. # $Id: Makefile,v 1.30 90/06/04 23:20:34 Rhialto Rel $
  2. #
  3. # Makefile for messydos file system handler and -device, for use with the
  4. # Manx C compiler version 3.6.
  5. #
  6. # This code is (C) Copyright 1989,1990 by Olaf Seibert. All rights reserved.
  7. # May not be used or copied without a licence.
  8.  
  9. HOBJ =    pack.o support.o hanmain.o hansec.o hanlock.o hanfile.o hanreq.o \
  10.     hancmd.o date.o
  11. HSRC =    pack.c support.c hanmain.c hansec.c hanlock.c hanfile.c hanreq.c \
  12.     hancmd.c date.c dos.h han.h
  13. DOBJ =    device.o devio.o
  14. DSRC =    device.c devio.c dev.h device.h
  15. XSRC =    messyfmt.c Makefile ignore.c die.c
  16. #DB =     -DDEBUG -DHDEBUG
  17. #DB =     -DHDEBUG
  18. #WACK =  -W
  19.  
  20. #   Options: large code, large data, no startup code, use A4
  21. .c.o:
  22.     cc +Iamiga.syms +cdbrx3,5 $(DB) $*.c -o $@
  23.  
  24. all:    MessyFileSystem messydisk.device
  25. utils:    die ignore messyfmt
  26. doc:    dev.man msh.man
  27.  
  28. messydisk.device: $(DOBJ)
  29.     ln -o $@ $(WACK) $(DOBJ) -lcl
  30.  
  31. MessyFileSystem:    $(HOBJ)
  32.     ln -o $@ $(WACK) $(HOBJ) -lcl
  33.  
  34. Die:    die.c
  35.     cc +Iamiga.syms +x3,5 die.c
  36.     ln Die.o -lcl
  37.  
  38. Ignore: ignore.c dev.h device.h
  39.     cc +Iamiga.syms +x3,5 ignore.c
  40.     ln Ignore.o -lcl
  41.  
  42. MessyFmt:
  43.     cc +Iamiga.syms +x3,5 messyfmt.c
  44.     ln MessyFmt.o -lcl
  45.  
  46. dev.man: dev.n
  47.     nro dev.n >dev.man
  48.  
  49. msh.man: msh.n
  50.     nro msh.n >msh.man
  51.  
  52. ci:
  53.     RCS:ci -u $(HSRC) $(DSRC) $(XSRC)
  54.  
  55. co:
  56.     RCS:co -l $(HSRC) $(DSRC) $(XSRC)
  57.  
  58. # DO NOT DELETE THIS LINE - important for making dependencies!
  59. #|.c|$*.o|
  60. #|.h|
  61. # From this line on, everything has been created by MakeDepend.
  62. # Anything you add yourself will be deleted automagically.
  63.  
  64. date.o: dev.h han.h date.c
  65. devio.o: device.h dev.h devio.c
  66. hanfile.o: dev.h han.h dos.h hanfile.c
  67. support.o: dos.h support.c
  68. device.o: device.h dev.h device.c
  69. hanlock.o: dev.h han.h dos.h hanlock.c
  70. hanmain.o: dev.h han.h dos.h hanmain.c
  71. hansec.o: dev.h han.h dos.h hansec.c
  72. hanreq.o: dos.h hanreq.c
  73. messyfmt.o: dev.h han.h messyfmt.c
  74. pack.o: dev.h han.h dos.h pack.c
  75. hancmd.o: dev.h han.h hancmd.c
  76.